:root {
	--totalWid: 100%;
	--themeColor: #00bdff;
}

html,
body {
	display: flex;
	width: 100%;
	height: 100%;
}
#img {
	width: 60%;
	height: 100%;
	background: url(../imgs/login-bg.png) no-repeat center;
	/* 背景颜色写在背景图片后面 */
	background-color: #1aa9ef;
}

/* 登录框 */
#logIn {
	position: relative;
	width: 40%;
	height: 100%;
}
#loginModal {
	box-sizing: border-box;
	padding: 20px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 400px;
	height: 550px;
	background-color: #fff;
}
/* logo */
#loginModalLogo {
	width: 185px;
	height: 50px;
	margin: 15px auto 40px;
	background: url(../imgs/loginlogo.png) no-repeat;
}
/* Tab区 */
#loginModalTab #login {
	text-align: center;
	height: 45px;
	line-height: 45px;
	margin-bottom: 25px;
}
#loginModalTab #login span {
	display: inline-block;
	width: 2px;
	height: 15px;
	background-color: #eeeeee;
}
#loginModalTab #login a {
	position: relative;
	display: inline-block;
	width: 125px;
	font-size: 16px;
	text-align: center;
}
#loginModalTab #login a.active {
	color: var(--themeColor);
}

/* 下划线 */
#loginModalTab #login a.active::after {
	content: "";
	display: block;
	width: 30%;
	height: 2px;
	background-color: var(--themeColor);
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translate(-50%);
}

/* 账号登录区 */
/* 用户名 */
#loginModalTab .text {
	position: relative;
	margin-bottom: 15px;
}
/* 精灵图 */
#loginModalTab .text span {
	position: absolute;
	bottom: 8px;
	left: -3px;
	display: inline-block;
	width: 30px;
	height: 30px;
	background-image: url(../imgs/loginIcon.png);
	background-position: 29px 1px;
}
#loginModalTab .password {
	position: relative;
}
#loginModalTab .password span {
	position: absolute;
	bottom: 8px;
	left: -3px;
	display: inline-block;
	width: 30px;
	height: 30px;
	background-image: url(../imgs/loginIcon.png);
	background-position: -22px 1px;
}
#loginModalTab .text input {
	box-sizing: border-box;
	padding-left: 35px;
	width: 100%;
	height: 40px;
	border: none;
	border-bottom: 1px solid #e7e7e7;
	font-size: 12px;
	outline: none;
}
/* 密码 */
#loginModalTab .password input {
	box-sizing: border-box;
	padding-left: 35px;
	width: 100%;
	height: 40px;
	border: none;
	border-bottom: 1px solid #e7e7e7;
	font-size: 12px;
	outline: none;
}
/* 忘记密码 */
#loginModalTab .forgetPassword {
	display: flex;
	flex-direction: row-reverse;
	margin: 20px 0;
}
#loginModalTab .forgetPassword a {
	font-size: 12px;
	color: var(--themeColor);
}
/* 登录 */
#loginModalTab .login button {
	width: 100%;
	height: 47px;
	background-color: var(--themeColor);
	text-align: center;
	line-height: 47px;
	color: #fff;
	margin-bottom: 20px;
}
/* 立即注册 */
#loginModalTab form .register {
	display: flex;
	justify-content: flex-end;
	font-size: 12px;
	color: #919191;
	margin-right: 35px;
}
#loginModalTab .register a {
	color: var(--themeColor);
}
/* 扫码登录Tab区 */
#sweepCode .qrCode {
	width: 290px;
	height: 245px;
	border: 1px solid #f5f5f5;
	background-color: #fcfcfc;
	text-align: center;
}
/* 二维码 */
#sweepCode {
	display: none;
}
#sweepCode .qrCode {
	margin: 0 auto;
}
#sweepCode .qrCode img {
	width: 100px;
	height: 100px;
	margin: 40px 0 20px 0;
}
#sweepCode .qrCode p {
	font-size: 14px;
	margin-top: 20px;
}
/* 立即注册 */
#sweepCode .register {
	margin-top: 20px;
	margin-left: 40px;
	font-size: 12px;
	color: #919191;
}
#sweepCode .register a {
	color: var(--themeColor);
}
